#ifdef SERVER
#include "tcp_server.hpp"
#else
#include "tcp_client.hpp"
#endif


int main()
{
    Dispatcher dispatcher;
#ifdef SERVER
    TcpServer svc(dispatcher);
#else
    TcpClient svc(dispatcher);
#endif
    svc.Start(EndPoint("127.0.0.1", 6060));
    dispatcher.Poll();
    return 0;
}